package com.zdkj.subway.stm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;


import java.math.BigDecimal;
import java.util.Date;

/**
 * 互联网售票机数据录入 2-2-12、888互联网售票机（主表）SW_AU_INTERNET_TICKET_EQUIPMENT
 */
@Data
@TableName("SW_AU_INTERNET_TICKET_EQUIPMENT")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "互联网售票机")
public class SwAuInternetTicketEquipment extends Model<SwAuInternetTicketEquipment> {
    private static final long serialVersionUID = 1L;
    @TableId
    private Integer id;
    private String lineCode;
    private String stationCode;
    private Integer totalNumberSales;
    private Integer compareTotalNumberSales;
    private BigDecimal subtotalTotal;
    private BigDecimal compareSubtotalTotal;
    private BigDecimal confirmAmount;
    private BigDecimal assistAmount;
    private Integer approvalStatus=0;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settlementTime;
    private Integer settlementPeriod;
    private String remark="";
    private Integer creatorId;
    private String creatorName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /*@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;*/
    private String delFlag="0";

    private Integer passengerAttendantId;
    private String passengerAttendantJobNo;
    private String passengerAttendantName;
    private Integer attendancePersonId;
    private String attendancePersonJobNo;
    private String attendancePersonName;

    private Integer confirmNumber;
    private String diffReason;

    private String equipmentCode;
    private String equipmentName;
    @ApiModelProperty(value="收益日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date revenueDate;
    private String reportModifyStatus;
}
